package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * (EndUser)实体类
 *
 * @author makejava
 * @since 2020-07-02 10:14:07
 */
public class EndUser implements Serializable {
    private static final long serialVersionUID = -36235221968284756L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "end_name")
    private String endName;

    @TableField(value = "end_Password")
    private String endPassword;
    /**
     * 1正常，0禁用
     */
    @TableField(value = "state")
    private Integer state;
    /**
     * 1管理员，0非管理员
     */
    @TableField(value = "adminuser")
    private Integer adminuser;

    @TableField(value = "headImg")
    private String headimg;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEndName() {
        return endName;
    }

    public void setEndName(String endName) {
        this.endName = endName;
    }

    public String getEndPassword() {
        return endPassword;
    }

    public void setEndPassword(String endPassword) {
        this.endPassword = endPassword;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getAdminuser() {
        return adminuser;
    }

    public void setAdminuser(Integer adminuser) {
        this.adminuser = adminuser;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    @Override
    public String toString() {
        return "EndUser{" +
                "id=" + id +
                ", endName='" + endName + '\'' +
                ", endPassword='" + endPassword + '\'' +
                ", state=" + state +
                ", adminuser=" + adminuser +
                ", headimg='" + headimg + '\'' +
                '}';
    }
}